import request from "../utils/request"
//获取栏目列表接口
export function category() {
    return request({
        method: "get",
        url: "/category"
    })
}

//封装新闻列表接口
export function newsList(params) {
    return request({
        method: "get",
        url: "/post",
        params
    })
}